
public class No {

	private Aresta[] arestaNo;
	private int i;
	
	public No(int n)
	{
		i = 0;
		arestaNo = new Aresta[n];
	}
	
	public void adicionarAresta(No x, int p)
	{
		arestaNo[i] = new Aresta(x, p);
		++i;
	}
}
